package com.wkbb.common.enums;

public enum OrganizationEnum {

    WKBB(1,"微看宝宝"),
    YS(2,"因时体育"),
    PD(3,"普迪睿创");

    private OrganizationEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private Integer value;

    private String desc;

    public Integer getValue() {
        return this.value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static String getDesc(Integer value) {
        for (OrganizationEnum mpAuthTypeEnum : OrganizationEnum.values()) {
            if (mpAuthTypeEnum.getValue().intValue()==value) {
                return mpAuthTypeEnum.getDesc();
            }
        }
        return null;
    }
}
